package com.cxf.windex.controller;

import com.cxf.windex.base.rest.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.Map;

/**
 * @program: drp
 * @description: 銷售
 * @author: chenxf
 * @create: 2018-05-22 16:56
 **/
@Controller
@RequestMapping("sale")
public class SaleController extends BaseController {
    @RequestMapping(value = "pay",method = RequestMethod.GET)
    public String pay(Map<String,Object> map){
        return "sale/pay";
    }

    @RequestMapping(value = "log",method = RequestMethod.GET)
    public String log(Map<String,Object> map){
        return "sale/log";
    }

    @RequestMapping(value = "hy",method = RequestMethod.GET)
    public String hy(Map<String,Object> map){
        return "sale/hy";
    }

    @RequestMapping(value = "rank",method = RequestMethod.GET)
    public String rank(Map<String,Object> map){
        return "sale/rank";
    }

    @RequestMapping(value = "money",method = RequestMethod.GET)
    public String money(Map<String,Object> map){
        return "sale/money";
    }

    @RequestMapping(value = "tx",method = RequestMethod.GET)
    public String tx(Map<String,Object> map){
        return "sale/tx";
    }
}
